<?php
if (!empty($atributos)){
    foreach ($atributos as $atributo){
        $id_atr=$atributo['Atributo']['id'];
        $nombre_atr=$atributo['Atributo']['nombre_atr'];
        echo $form->hidden("Atributosxinstalacion.{$id_atr}.atributo_id",array('value'=>$id_atr));
        echo $form->input("Atributosxinstalacion.{$id_atr}.valor_atr",array('label'=>$nombre_atr.': ','div'=>false,'class'=>'inputstyle input90','type'=>'text','value'=>''));
    }
}
?>